﻿<script type="text/javascript">
    $(document).ready(function () {
        var data = new datasource();
        data.c = "Way.Bus.WMS.XHY.Controllers.EndowedInNoticeOrderController";
        if (window.parID) {
            $("#ck").append("<input type='button' id='" + window.parID + "' value='确定生成' onclick='test(this)' /><br/>");
        }

    });

   

        function test($obj) {
                var data = new datasource();
                data.c = "Way.Bus.WMS.XHY.Controllers.EndowedInNoticeOrderController";
                var tt = data.post("AutoNext", "id=" + $obj.id + "");
                alert("生成完成！请刷新查看");
    }
    


</script>
<style type="text/css">
    .hw1Class
    {
        background-color:#AAEEBE;
        color:Black;    
    }
        .hw2Class
    {
        background-color:#FDAFEA;
        color:Black;    
    }
        .hw3Class
    {
        background-color:#FDA342;
        color:Black;    
    }
</style>

<!--生成单件码-->

<div id="ck" style="position: relative; overflow: hidden; border: 0px solid #ccc;
    width: auto; height: auto; margin-bottom: 10px; margin-top: 10px; margin-left: 20px;">
</div>
